package com.zhanggm.springcloud.student.dao;

import com.zhanggm.springcloud.student.entity.AreaEntiy;
import com.zhanggm.springcloud.student.entity.ClassesEntiy;
import org.apache.catalina.LifecycleState;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AreaRepository extends JpaRepository<AreaEntiy,Long> {
    List<AreaEntiy> findByPid(Long pid);
}
